FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource Measure/FHIR Server from package fhir.hivfhirIg#current (47 ms)

Package fhir.hivfhirIg
Type Measure
Id Id
FHIR Version R4
Source https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/https://build.fhir.org/ig/IntelliSOFT-Consulting/HIV-FHIR-IG/Measure-HIVIND18.html
Url http://smart.who.int/hiv/Measure/HIVIND18
Version 0.1.0
Status draft
Date 2024-09-16
Name HIVIND18
Title HIV.IND.18 People living with HIV who know their HIV status (first 95)
Experimental True
Realm us
Authority hl7
Description Number and % of people living with HIV who know their HIV status

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Measure HIVIND18

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis: boolean

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem: Device: manufacturer = CQFramework; type = tooling

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements: EffectiveDataRequirements

url: Measure HIV.IND.18 People living with HIV who know their HIV status (first 95)

version: 0.1.0

name: HIVIND18

title: HIV.IND.18 People living with HIV who know their HIV status (first 95)

status: Draft

experimental: true

date: 2024-09-16

publisher: intellisoftkenya

contact: intellisoftkenya: https://www.intellisoftkenya.com/

description:

Number and % of people living with HIV who know their HIV status

library: HIV.IND.18 Logic

scoring: Continuous Variable

group

population

id

HIV.IND.18.IP

code: Initial Population

description: Initial Population

Criteria

-LanguageExpression
*CQLInitial Population

population

id

HIV.IND.18.MP

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis: boolean

code: Measure Population

description: Measure Population

Criteria

-LanguageExpression
*CQLMeasure Population

population

id

HIV.IND.18.MO

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference: measure-population

org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod: count

code: Measure Observation

description: Measure Observation

Criteria

-LanguageExpression
*CQLMeasure Observation

stratifier

id

HIV.IND.18.S

Criteria

-LanguageExpression
*CQLStratification

Source

{
  "resourceType" : "Measure",
  "id" : "HIVIND18",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cv-measure-cqfm",
      "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure",
      "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablemeasure",
      "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Measure HIVIND18</b></p><a name=\"HIVIND18\"> </a><a name=\"hcHIVIND18\"> </a><a name=\"HIVIND18-en-US\"> </a><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis</b>: boolean</p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem</b>: <a href=\"Device-cqf-tooling.html\">Device: manufacturer = CQFramework; type = tooling</a></p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements</b>: <a href=\"#hcHIVIND18/effective-data-requirements\">EffectiveDataRequirements</a></p><p><b>url</b>: <a href=\"Measure-HIVIND18.html\">Measure HIV.IND.18 People living with HIV who know their HIV status (first 95)</a></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: HIVIND18</p><p><b>title</b>: HIV.IND.18 People living with HIV who know their HIV status (first 95)</p><p><b>status</b>: Draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-09-16</p><p><b>publisher</b>: intellisoftkenya</p><p><b>contact</b>: intellisoftkenya: <a href=\"https://www.intellisoftkenya.com/\">https://www.intellisoftkenya.com/</a></p><p><b>description</b>: </p><div><p>Number and % of people living with HIV who know their HIV status</p>\n</div><p><b>library</b>: <a href=\"Library-HIVIND18Logic.html\">HIV.IND.18 Logic</a></p><p><b>scoring</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring continuous-variable}\">Continuous Variable</span></p><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.18.IP</blockquote><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population initial-population}\">Initial Population</span></p><p><b>description</b>: Initial Population</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Initial Population</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.18.MP</blockquote><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis</b>: boolean</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-population}\">Measure Population</span></p><p><b>description</b>: Measure Population</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Measure Population</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.18.MO</blockquote><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference</b>: measure-population</p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod</b>: count</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-observation}\">Measure Observation</span></p><p><b>description</b>: Measure Observation</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Measure Observation</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>HIV.IND.18.S</blockquote><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Stratification</td></tr></table></blockquote></blockquote></div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.A.DE20",
            "display" : "Male"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.A.DE19",
            "display" : "Female"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.A.DE22",
            "display" : "Transgender female"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.A.DE21",
            "display" : "Transgender male"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.A.DE23",
            "display" : "Other"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.B.DE49",
            "display" : "Key population member*"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
            "code" : "social-history",
            "display" : "Social History"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.B.DE116",
            "display" : "HIV-positive"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "active"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
            "code" : "encounter-diagnosis",
            "display" : "Encounter Diagnosis"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
            "code" : "HIV.B.DE115",
            "display" : "HIV status"
          }
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIND18Logic"
            },
            {
              "url" : "name",
              "valueString" : "Initial Population"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n * As defined by Member States\n */\ndefine \"Initial Population\":\n true"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 0
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "By Administrative Gender Stratifier"
            },
            {
              "url" : "statement",
              "valueString" : "/* End of Age */\n\n\n\n\n\n\n/*\n@dataElement: HIV.A.DE18 - Gender\n@activity: HIV.A6.1 Review sociodemographic data with client | HIV.A5 Create new client record\n@description: Gender of the client\n*/\n\n/*\n * By Administrative Gender of Patient Stratifier\n * Need to expand codes\n */\n\ndefine \"By Administrative Gender Stratifier\":\n case \n when Patient.gender = 'male' then Concepts.\"Male\"\n when Patient.gender = 'female' then Concepts.\"Female\"\n when Patient.gender = 'transgender female' then Concepts.\"Transgender female\"\n when Patient.gender = 'transgender male' then Concepts.\"Transgender male\"\n else Concepts.\"Other - HIV.A.DE23\"\n end"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 1
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "Age In Years"
            },
            {
              "url" : "statement",
              "valueString" : "/* End of Visit date A.DE3 */\n\n/*\n@dataElement: HIV.A.DE17 - Age\n@activity: HIV.A6.1 Review sociodemographic data with client | HIV.A5 Create new client record\n@description: Calculated age (number of years) of the client based on date of birth\n*/\ndefine \"Age In Years\":\n AgeInYearsAt(start of \"Measurement Period\")"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 2
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "By Age Stratifier 2"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n * By Age Stratifiers\n * Age (0–4, 5–9, 10–14, 15–19, 20–24, 25–49, 50+ years)\n * \n */\ndefine \"By Age Stratifier 2\":\n case \n when \"Age In Years\" <= 4 then '0-4'\n when \"Age In Years\" <= 9 then '5-9'\n when \"Age In Years\" <= 14 then '10–14'\n when \"Age In Years\" <= 19 then '15–19'\n when \"Age In Years\" <= 24 then '20–24'\n when \"Age In Years\" <= 49 then '25–49'\n when \"Age In Years\" >= 50 then '50+'\n else null\n end"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 3
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "By Geographic Region Stratifier"
            },
            {
              "url" : "statement",
              "valueString" : "// Geographic Region\ndefine \"By Geographic Region Stratifier\":\n First(Patient.address A where A.use in { 'home' }).state"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 4
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVElements"
            },
            {
              "url" : "name",
              "valueString" : "Key population member type Observation"
            },
            {
              "url" : "statement",
              "valueString" : "/* End of Key population member B.DE49 */\n\n/*\n@dataElement: HIV.B.DE50 - Key population member type\n@activity: HIV.B6 Capture or update client history\n@description: The type of key population that the client is included in\n*/\ndefine \"Key population member type Observation\":\n [Observation: Concepts.\"Key population member - HIV.B.DE49\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and exists(O.category OC where OC ~ ConceptsCustom.\"social-history\")"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 5
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "Key population member type Observation"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Key population member type Observation\":\n Elements.\"Key population member type Observation\" O\n where O.effective.toInterval() before end of \"Measurement Period\"\n or O.issued before end of \"Measurement Period\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 6
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "patientGroups"
            },
            {
              "url" : "statement",
              "valueString" : "// Stratifier\ndefine patientGroups:\n \"Key population member type Observation\" O\n return Combine(O.code.coding.code, ':')"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 7
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIND18Logic"
            },
            {
              "url" : "name",
              "valueString" : "Stratification"
            },
            {
              "url" : "statement",
              "valueString" : "// define \"ANC Stratifier\":\n// HIC.\"anc\"\n\n\ndefine \"Stratification\":\n HIE.\"By Administrative Gender Stratifier\".code \n + ':' + HIE.\"By Age Stratifier 2\"\n+ ':' + HIE.\"By Geographic Region Stratifier\"\n+ Combine(HIE.patientGroups, ':')"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 8
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVElements"
            },
            {
              "url" : "name",
              "valueString" : "HIV Status Positive Condition"
            },
            {
              "url" : "statement",
              "valueString" : "define \"HIV Status Positive Condition\":\n [Condition: Concepts.\"HIV-positive - HIV.B.DE116\"] C\n where C.clinicalStatus ~ ConceptsCustom.\"active\"\n and exists(C.category CC where CC ~ ConceptsCustom.\"encounter-diagnosis\")\n sort by start of onset.toInterval()"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 9
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "HIV Status Positive Condition"
            },
            {
              "url" : "statement",
              "valueString" : "define \"HIV Status Positive Condition\":\n Elements.\"HIV Status Positive Condition\" C\n where C.onset before end of \"Measurement Period\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 10
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVElements"
            },
            {
              "url" : "name",
              "valueString" : "HIV Status Observation"
            },
            {
              "url" : "statement",
              "valueString" : "/* End of HIV-inconclusive */\n\n/*\n@dataElement: HIV.B.DE115 - HIV status\n@activity: HIV.B7 Test for HIV using testing algorithm\n@description: HIV status reported after applying the national HIV testing algorithm. No single HIV test can provide an HIV-positive diagnosis.\n*/\ndefine \"HIV Status Observation\":\n [Observation: Concepts.\"HIV status\"] O\n where O.status in { 'final', 'amended', 'corrected' }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 11
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVElements"
            },
            {
              "url" : "name",
              "valueString" : "HIV Status Positive Observation"
            },
            {
              "url" : "statement",
              "valueString" : "define \"HIV Status Positive Observation\":\n\"HIV Status Observation\" O\n where O.value ~ Concepts.\"HIV-positive - HIV.B.DE116\"\n sort by start of effective.toInterval()"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 12
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "HIV Status Positive Observation"
            },
            {
              "url" : "statement",
              "valueString" : "define \"HIV Status Positive Observation\":\n Elements.\"HIV Status Positive Observation\" O\n where O.issued before end of \"Measurement Period\"\n or O.effective.toInterval() starts before end of \"Measurement Period\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 13
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIndicatorElements"
            },
            {
              "url" : "name",
              "valueString" : "Has HIV-positive Status"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Has HIV-positive Status\":\n exists \"HIV Status Positive Condition\"\n or exists \"HIV Status Positive Observation\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 14
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIND18Logic"
            },
            {
              "url" : "name",
              "valueString" : "Measure Population"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Measure Population\":\n HIE.\"Has HIV-positive Status\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 15
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToString"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToString(value AdministrativeGender): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 16
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToString"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToString(value string): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 17
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToString"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToString(value AddressUse): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 18
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToString"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToString(value ObservationStatus): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 19
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToConcept"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 20
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToDateTime"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToDateTime(value instant): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 21
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToDateTime"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToDateTime(value dateTime): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 22
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "HIVIND18Logic"
            },
            {
              "url" : "name",
              "valueString" : "Measure Observation"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n * NOTE: Modeled as a Continuous Variable measure because this is an estimated denominator proportion measure\n */\n\ndefine function \"Measure Observation\"(Patient \"Patient\"):\n 1"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 23
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        }
      ],
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "Library HIE",
          "resource" : "Library/HIVIndicatorElements"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Library Concepts",
          "resource" : "Library/HIVConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Library Elements",
          "resource" : "Library/HIVElements"
        },
        {
          "type" : "depends-on",
          "display" : "Library Concepts",
          "resource" : "Library/HIVConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Library ConceptsCustom",
          "resource" : "Library/HIVConceptsCustom"
        },
        {
          "type" : "depends-on",
          "display" : "Library WC",
          "resource" : "Library/WHOCommon"
        },
        {
          "type" : "depends-on",
          "display" : "Library WC",
          "resource" : "Library/WHOCommon"
        },
        {
          "type" : "depends-on",
          "display" : "Code system HIVConcepts",
          "resource" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Code system ObservationCategoryCodes",
          "resource" : "http://terminology.hl7.org/CodeSystem/observation-category"
        },
        {
          "type" : "depends-on",
          "display" : "Code system ConditionClinicalStatusCodes",
          "resource" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
        },
        {
          "type" : "depends-on",
          "display" : "Code system ConditionCategoryCodes",
          "resource" : "http://terminology.hl7.org/CodeSystem/condition-category"
        }
      ],
      "parameter" : [
        {
          "name" : "Measurement Period",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "Period"
        },
        {
          "name" : "Initial Population",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        },
        {
          "name" : "Stratification",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "string"
        },
        {
          "name" : "Measure Population",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Patient",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Patient"
          ]
        },
        {
          "type" : "Patient",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Patient"
          ],
          "mustSupport" : [
            "use"
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "category"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE49",
                  "display" : "Key population member*"
                }
              ]
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "category",
            "effective",
            "issued"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE49",
                  "display" : "Key population member*"
                }
              ]
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "category",
            "effective",
            "issued",
            "code.coding"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE49",
                  "display" : "Key population member*"
                }
              ]
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Condition"
          ],
          "mustSupport" : [
            "code",
            "clinicalStatus",
            "category"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE116",
                  "display" : "HIV-positive"
                }
              ]
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Condition"
          ],
          "mustSupport" : [
            "code",
            "clinicalStatus",
            "category",
            "onset"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE116",
                  "display" : "HIV-positive"
                }
              ]
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE115",
                  "display" : "HIV status"
                }
              ]
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE115",
                  "display" : "HIV status"
                }
              ]
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "value",
            "issued",
            "effective"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
                  "code" : "HIV.B.DE115",
                  "display" : "HIV status"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
      "valueCode" : "boolean"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
      "valueReference" : {
        "reference" : "Device/cqf-tooling"
      }
    },
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
      "valueReference" : {
        "reference" : "#effective-data-requirements"
      }
    }
  ],
  "url" : "http://smart.who.int/hiv/Measure/HIVIND18",
  "version" : "0.1.0",
  "name" : "HIVIND18",
  "title" : "HIV.IND.18 People living with HIV who know their HIV status (first 95)",
  "status" : "draft",
  "experimental" : true,
  "date" : "2024-09-16",
  "publisher" : "intellisoftkenya",
  "contact" : [
    {
      "name" : "intellisoftkenya",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.intellisoftkenya.com/"
        }
      ]
    }
  ],
  "description" : "Number and % of people living with HIV who know their HIV status",
  "library" : [
    "http://smart.who.int/hiv/Library/HIVIND18Logic"
  ],
  "scoring" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
        "code" : "continuous-variable",
        "display" : "Continuous Variable"
      }
    ]
  },
  "group" : [
    {
      "population" : [
        {
          "id" : "HIV.IND.18.IP",
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "initial-population",
                "display" : "Initial Population"
              }
            ]
          },
          "description" : "Initial Population",
          "criteria" : {
            "language" : "text/cql",
            "expression" : "Initial Population"
          }
        },
        {
          "id" : "HIV.IND.18.MP",
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
              "valueCode" : "boolean"
            }
          ],
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "measure-population",
                "display" : "Measure Population"
              }
            ]
          },
          "description" : "Measure Population",
          "criteria" : {
            "language" : "text/cql",
            "expression" : "Measure Population"
          }
        },
        {
          "id" : "HIV.IND.18.MO",
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference",
              "valueString" : "measure-population"
            },
            {
              "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
              "valueCode" : "count"
            }
          ],
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "measure-observation",
                "display" : "Measure Observation"
              }
            ]
          },
          "description" : "Measure Observation",
          "criteria" : {
            "language" : "text/cql",
            "expression" : "Measure Observation"
          }
        }
      ],
      "stratifier" : [
        {
          "id" : "HIV.IND.18.S",
          "criteria" : {
            "language" : "text/cql",
            "expression" : "Stratification"
          }
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.